Package-level declarations

Types

Link copied to clipboard
class AbsPos(p: Int = 0) : Pos

An absolute Pos. Mutation of this pos will directly change it's position with no other offsets or other side effects.

Link copied to clipboard
class ImmutablePos(p: Int = 0) : Pos

An immutable Pos. Typically used as a position "anchor" in other positions

Link copied to clipboard
interface Pos

Defines the mutable position of something

Link copied to clipboard
class RelPos @JvmOverloads constructor(parent: Pos, p: Int = 0) : Pos

A relative Pos. Offsets a parent Pos. Mutation of this pos will alter the offset.

Link copied to clipboard
class SuppliedPos(parent: Pos, p: Int, offset: Supplier<Int>) : Pos

A relative Pos wth a secondary offset supplier. Offsets a parent Pos. Mutation of this pos will alter the offset.